import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
import React from 'react';

const Footer: React.FC = () => {
  return (
    <DefaultFooter
      style={{
        background: 'none',
        marginTop: 0,
        position: 'relative',
        bottom: 0,
        width: '90%',
      }}
      links={[
        {
          key: 'Open-API',
          title: '备案号2024018489',
          href: 'https://beian.miit.gov.cn',
          blankTarget: true,
        },
        {
          key: 'github',
          title: <GithubOutlined />,
          href: 'https://gitee.com/authority-xi/open-api-platform.git',
          blankTarget: true,
        },
        {
          key: 'E-connect',
          title: 'Easy-To-Connected ',
          href: 'https://gitee.com/authority-xi/open-api-platform.git',
          blankTarget: true,
        },
      ]}
    />
  );
};

export default Footer;
